<strong>User: </strong><?php echo $this->escape($this->user['username']); ?><br />

<table>
    <tr>
        <th>Resource</th>
        <th>allowed?</th>
    </tr>
<?php $accessManager = $this->module('admin')->getAccessManager(); ?>
<?php foreach ($this->resources as $key => $resource) : ?>
    <tr>
        <td><?php echo $this->escape($key); ?></td>
        <td><?php if ($accessManager->isAllowed($this->user['username'], $resource)): ?>YES<?php else: ?>NO<?php endif; ?></td>
    </tr>
<?php endforeach; ?>
</table>
